package com.aj.databases.entry;

import java.io.Serializable;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "users")
public class User implements Serializable {
	private static final long serialVersionUID = 4858041413721273691L;
	public static final String ID = "id";
	public static final String USER_ID = "user_id";
	public static final String NAME = "user_name";
	public static final String PORTRAIT_PATH = "portrait_path";
	public static final String PORTRAIT_URL = "portrait_url";
	public static final String PHOHE_PATH = "phohe";
	public static final String RELATIONSHIP = "relationship";
	public static final String NICKNAME = "nickName";
	public static final String BIRTHDAY = "birthday";
	public static final String SEX = "sex";
	public static final String ADDRESS = "address";
	public static final String SIGN = "sign";
	public static final String ISMARRIED = "isMarried";

	@DatabaseField(generatedId = true, useGetSet = true, columnName = ID)
	private Integer id;
	@DatabaseField(useGetSet = true, columnName = USER_ID)
	private String user_id;
	@DatabaseField(useGetSet = true, columnName = NAME)
	private String name;
	@DatabaseField(useGetSet = true, columnName = PORTRAIT_PATH)
	private String portrait_path;
	@DatabaseField(useGetSet = true, columnName = PORTRAIT_URL)
	private String portrait_url;
	@DatabaseField(useGetSet = true, columnName = RELATIONSHIP)
	private String relationship;
	@DatabaseField(useGetSet = true, columnName = PHOHE_PATH)
	private String phohe;
	@DatabaseField(useGetSet = true, columnName = NICKNAME)
	private String nickName;
	@DatabaseField(useGetSet = true, columnName = SEX)
	private String sex;
	@DatabaseField(useGetSet = true, columnName = BIRTHDAY)
	private String birthday;
	@DatabaseField(useGetSet = true, columnName = ADDRESS)
	private String address;
	@DatabaseField(useGetSet = true, columnName = SIGN)
	private String sign;
	@DatabaseField(useGetSet = true, columnName = ISMARRIED)
	private String isMarried;

	public User() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPortrait_url() {
		return portrait_url;
	}

	public void setPortrait_url(String portrait_url) {
		this.portrait_url = portrait_url;
	}

	public String getRelationship() {
		return relationship;
	}

	public void setRelationship(String relationship) {
		this.relationship = relationship;
	}

	public String getPortrait_path() {
		return portrait_path;
	}

	public void setPortrait_path(String portrait_path) {
		this.portrait_path = portrait_path;
	}

	public String getPhohe() {
		return phohe;
	}

	public void setPhohe(String phohe) {
		this.phohe = phohe;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getIsMarried() {
		return isMarried;
	}

	public void setIsMarried(String isMarried) {
		this.isMarried = isMarried;
	}

}
